﻿using System.Collections.Generic;
using System.Linq;
using System.Text;
using System;

namespace TestEnvirementCL.POCO
{
  public class Event
  {
    //Attributes in the Table
    public int EventId { get; set; }
    public string Name { get; set; }
    public Boolean Type { get; set; }
    public string Measure { get; set; }
    
    //Foreign Keys
    public int SportId {get;set;}
    public int? NSSFId { get; set; }

    //Relations to other Classes
    public virtual List<Meeting> Meetings { get; set; }
    //public virtual List<Result> Result { get; set; }
    public virtual List<Record> Records { get; set; }
    public virtual Sport Sport { get; set; }
    public virtual NSSF NSSF { get; set; }
     
  }
}
